<?php
class Test extends EMongoDocument{
	public $a;
	public $b;
	public static function model($className=__CLASS__)
	{
	return parent::model($className);
	}

	// This method is required!
	public function getCollectionName()
	{
	return 'test';
	}
}
?>